home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15662 < prev    next >
Encoding:
Text File  |  1996-08-05  |  798 b   |  21 lines

  1. Path: oden.abc.se!usenet
  2. From: mikes@abc.se (Mikael Stσldal)
  3. Newsgroups: comp.lang.c++
  4. Subject: Making your own streambuf classes
  5. Date: Sat, 06 Apr 1996 17:04:55 GMT
  6. Organization: ABC-Klubben
  7. Message-ID: <4k64mu$9v@oden.abc.se>
  8. NNTP-Posting-Host: pm2-26.abc.se
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. I'm trying to write some custom streambuf classes for handling other
  12. kinds of data sources than files and strings. But it's more difficult
  13. than I expected. Where can I find useful reference documents?
  14.  
  15. The current problem is how the sync() method should be implemented.
  16. What it sync() supposed to do? I found a source for filebuf using
  17. <io.h>, it used lseek() in sync. I'm working with strictly sequencial
  18. data sources (such as an asynchronous serial port) where you can't do
  19. something like that.
  20.  
  21.